package com.c78.fz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.c78.fz.model.entity.WaterMan;
import org.apache.ibatis.annotations.Param;

public interface WaterManMapper extends BaseMapper<WaterMan> {
    Page<WaterMan> selectPage(Page<WaterMan> page,@Param("name") String name);
    int updateBasicSalaryInt(@Param("basicSalary") Integer basicSalary,@Param("id") Integer id);
    Page<WaterMan> selectSalaryPage(Page<WaterMan> page,@Param("startTime") String startTime,@Param("endTime") String endTime);
    Page<WaterMan> selectWaterManNo(Page<WaterMan> page,@Param("startTime") String startTime,@Param("endTime") String endTime);

    Page<WaterMan> selectWaterCount(Page<WaterMan> page,@Param("name") String name);
//    int selectByManIdPages(@Param("name") String name);
    int selectWaterCountById(@Param("id") Integer id);
}
